﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Brain.Animation;

namespace Brain
{
    public struct Frame_Vector2 : IKeyframe<Vector2>
    {
        public GetGeneric<Vector2> Get { get; set; }

        public SetGeneric<Vector2> Set { get; set; }

        public Vector2 Value { get; set; }

        public int Time { get; set; }

        public Vector2 Lerp(Vector2 value1, Vector2 value2, float amount)
        {
            return Vector2.Lerp(value1, value2, amount);
        }
    }
}
